package com.hong.service;

import com.hong.dto.Result;
import com.hong.entity.Voucher;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务类
 * </p>
 */
public interface IVoucherService extends IService<Voucher> {

    // 根据商家ID查询优惠券
    Result queryVoucherOfShop(Long shopId);

    // 添加秒杀优惠券
    void addSeckillVoucher(Voucher voucher);
}
